package com.jic.manager.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.manager.entity.MestoreAddress;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 店铺地址
 * @author : 
 * @email : 
 * @since : 2020-02-26 09:39:59
 * @version : v1.0.0
 */
@Mapper
public interface  MestoreAddressMapper {

    long insert(MestoreAddress mestoreAddress);

    long delete(Long id);

    long update(MestoreAddress mestoreAddress);

    MestoreAddress queryByPrimaryKey(Long id);

    List<MestoreAddress> query(MestoreAddress mestoreAddress);

    List<MestoreAddress> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("mestoreAddress") MestoreAddress mestoreAddress);

    long queryPageCount(MestoreAddress mestoreAddress);
}